package com.lhl.security.jwt.dao;

import com.lhl.fw.db.repository.BaseJpaRepository;
import com.lhl.security.jwt.domain.entity.SysUser;
import io.swagger.annotations.Api;
import org.springframework.data.domain.Example;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

/**
 * @className: com.lhl.security.jwt.dao.SysUserDao
 * @description: TODO 类描述
 * @author: king
 * @date: 2020-11-09
 **/
@Api(tags = "SysUserDao", produces = "")
@Repository
public interface SysUserDao extends BaseJpaRepository<SysUser,Integer> {
    Optional<SysUser> findByUsername(String username);
}
